import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
import { rules } from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
import dayjs from 'dayjs';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '社区名称',
    align: 'center',
    dataIndex: 'community',
    customCell: (record, index, column) => {
      if (record.community === record.community) {
        return { colSpan: 0 };
      }
    },
  },
  {
    title: '品类',
    align: 'center',
    dataIndex: 'category',
  },
  {
    title: '重量',
    align: 'center',
    dataIndex: 'weight',
  },
  {
    title: '规格',
    align: 'center',
    dataIndex: 'specification',
  },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
  {
    field: 'orderNumber',
    label: '订单编号',
    component: 'Input',
  },
];
// 高级查询数据
export const superQuerySchema = {};
